package class0828;

/**
 * @Author:galaxy_yan
 * @Date: 2022/8/28
 * @Time: 10:22
 * @Description
 */
public class Derived extends Base{
    public Derived(){
        super();
        System.out.println("Derived:构造方法");
    }
    {
        System.out.println("Derived:实例代码块");
    }
    static {
        System.out.println("Derived:静态代码块");
    }


    public static void main(String[] args) {
        Derived d1=new Derived();
        System.out.println("---------------------------");
        Derived d2=new Derived();
    }
}
